package tt.dz.egobus.servicemanager.facade.terminal;

import com.alibaba.dubbo.config.annotation.Reference;
import tt.dz.egobus.api.ResponseBack;
import tt.dz.egobus.api.business.TripCancel;
import tt.dz.egobus.servicemanager.facade.interator.Facade;

/**
 * @author Anson
 * @date 17-3-27
 * @name 用户终端facade
 * @since 1.0.3
 */
@Facade(facadeName = "terminal")
public class TerminalFacade {

    @Reference(version = "1.0.7", timeout = 10000)
    protected TripCancel tripCancel;


    public ResponseBack<Boolean> tripCancel(String businessId) {
        return this.tripCancel.tripCancel(businessId);
    }

}
